package org.jeecg.modules.word_order.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: work_affair
 * @Author: jeecg-boot
 * @Date:   2021-08-26
 * @Version: V1.0
 */
@Data
@TableName("work_affair")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="work_affair对象", description="work_affair")
public class WorkAffair implements Serializable {
    private static final long serialVersionUID = 1L;

	/**编号；UUID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "编号；UUID")
    private String id;
	/**工单编号，工单表外键*/
	@Excel(name = "工单编号，工单表外键", width = 15)
    @ApiModelProperty(value = "工单编号，工单表外键")
    private String affairWorkId;
	/**工单内容*/
	@Excel(name = "工单内容", width = 15)
    @ApiModelProperty(value = "工单内容")
    private String affairContent;
	/**注意事项*/
	@Excel(name = "注意事项", width = 15)
    @ApiModelProperty(value = "注意事项")
    private String affairMatters;
	/**处理办法以及结果*/
	@Excel(name = "处理办法以及结果", width = 15)
    @ApiModelProperty(value = "处理办法以及结果")
    private String affairWay;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
}
